<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewAddressEntityTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewAddressEntityLabel_city}"/>
                    <h:outputText value="#{addressEntityController.selected.city}" title="#{bundle.ViewAddressEntityTitle_city}"/>
                    <h:outputText value="#{bundle.ViewAddressEntityLabel_country}"/>
                    <h:outputText value="#{addressEntityController.selected.country}" title="#{bundle.ViewAddressEntityTitle_country}"/>
                    <h:outputText value="#{bundle.ViewAddressEntityLabel_stateOrProvice}"/>
                    <h:outputText value="#{addressEntityController.selected.stateOrProvice}" title="#{bundle.ViewAddressEntityTitle_stateOrProvice}"/>
                    <h:outputText value="#{bundle.ViewAddressEntityLabel_streetAddress}"/>
                    <h:outputText value="#{addressEntityController.selected.streetAddress}" title="#{bundle.ViewAddressEntityTitle_streetAddress}"/>
                    <h:outputText value="#{bundle.ViewAddressEntityLabel_zipCode}"/>
                    <h:outputText value="#{addressEntityController.selected.zipCode}" title="#{bundle.ViewAddressEntityTitle_zipCode}"/>
                    <h:outputText value="#{bundle.ViewAddressEntityLabel_contact}"/>
                    <h:outputText value="#{addressEntityController.selected.contact}" title="#{bundle.ViewAddressEntityTitle_contact}"/>
                    <h:outputText value="#{bundle.ViewAddressEntityLabel_id}"/>
                    <h:outputText value="#{addressEntityController.selected.id}" title="#{bundle.ViewAddressEntityTitle_id}"/>
                    <h:outputText value="#{bundle.ViewAddressEntityLabel_createdAt}"/>
                    <h:outputText value="#{addressEntityController.selected.createdAt}" title="#{bundle.ViewAddressEntityTitle_createdAt}">
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewAddressEntityLabel_createdBy}"/>
                    <h:outputText value="#{addressEntityController.selected.createdBy}" title="#{bundle.ViewAddressEntityTitle_createdBy}"/>
                    <h:outputText value="#{bundle.ViewAddressEntityLabel_lastModifiedAt}"/>
                    <h:outputText value="#{addressEntityController.selected.lastModifiedAt}" title="#{bundle.ViewAddressEntityTitle_lastModifiedAt}">
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewAddressEntityLabel_lastModifiedBy}"/>
                    <h:outputText value="#{addressEntityController.selected.lastModifiedBy}" title="#{bundle.ViewAddressEntityTitle_lastModifiedBy}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{addressEntityController.destroyAndView}" value="#{bundle.ViewAddressEntityDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewAddressEntityEditLink}"/>
                <br />
                <h:commandLink action="#{addressEntityController.prepareCreate}" value="#{bundle.ViewAddressEntityCreateLink}" />
                <br />
                <h:commandLink action="#{addressEntityController.prepareList}" value="#{bundle.ViewAddressEntityShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewAddressEntityIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
